apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: controller-manager
  namespace: kuma-system
spec:
  template:
    spec:
      containers:
      - name: manager
        ports:
        - containerPort: 443
          name: webhook-server
          protocol: TCP
        volumeMounts:
        - mountPath: /tmp/k8s-webhook-server/serving-certs
          name: cert
          readOnly: true
      volumes:
      - name: cert
        secret:
          defaultMode: 420
          secretName: webhook-server-cert
